package com.example.springbootmybatis.StrategyDesignModel;

public class Context {
    private Strategy strategy;

    private Context(){}

    public Context(Strategy strategy){
        this.strategy = strategy;
    }

    public Integer justDo(Integer a, Integer b){
        return strategy.doSomething(a, b);
    }
}
